home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-06-28 | 475 b | 29 lines | [TEXT/CWIE] |
- // WindowLocator.h
-
- #ifndef WindowLocator_h
- #define WindowLocator_h
-
- #ifndef RedBlackLink_h
- #include "RedBlackLink.h"
- #endif
-
- class AbstractWindow;
-
- class WindowLocator
- {
- public:
- typedef RedBlackLinkTree< WindowPtr, AbstractWindow > TreeType;
-
- private:
- static TreeType& Tree();
-
- public:
- typedef RedBlackLink< WindowPtr, AbstractWindow > Registration;
-
- static void Register( Registration& );
-
- virtual AbstractWindow& LocateWindow( WindowPtr );
- };
-
- #endif
-